package edu.neu.cloud_factory.entity.po;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 设备
 * </p>
 *
 * @author halozhy
 * @since 2021-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_device")
public class Device implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "d_id", type = IdType.AUTO)
    private Long dId;

    private String dName;

    private String dSpec;

    private String dDescribe;

    private String dState;

    private String dDeptName;

    private Long dTypeId;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long dFactoryId;

    @TableField(updateStrategy=FieldStrategy.IGNORED)
    private Long dRentRecId;


}
